package abstractLearn;

/**
 * @Author Mr.Wen
 * @Version 1.0
 */
public class TestInter implements Inter1 {
    public static void main(String[] args) {
        TestInter inter = new TestInter();
        inter.method();
        System.out.println("接口中的常量");
        inter.test();
    }

    void test() {
        System.out.println(s);
        System.out.println(s1);
    }

    @Override
    public void method() {
        defaultMethod();
    }
}
